home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16601 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: reuna.cl!utfsm!vonbrand
  2. From: vonbrand@amaru.inf.utfsm.cl (Horst von Brand)
  3. Newsgroups: comp.lang.c,comp.lang.c++,comp.edu,comp.unix.misc
  4. Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
  5. Followup-To: comp.unix.misc
  6. Date: 11 Apr 1996 09:44:01 -0400
  7. Organization: Departamento de Informatica, UTFSM
  8. Message-ID: <4kj2b1$4k5@amaru.inf.utfsm.cl>
  9. References: <JSA.96Feb16135027@organon.com> <dewar.828936837@schonberg> <4kb2j8$an0@solutions.solon.com> <dewar.829011320@schonberg>
  10. NNTP-Posting-Host: amaru.inf.utfsm.cl
  11.  
  12. [Cut back on Newsgroups:, perhaps comp.os.unix.misc would be best?]
  13.  
  14. In article <dewar.829011320@schonberg>, Robert Dewar <dewar@cs.nyu.edu> wrote:
  15. >[Does a read(fd, buff, 1000); buff is 100 bytes; file is 62 bytes.  Linux
  16. > screams, this is considered wrong]
  17.  
  18. Excuse me, but how on earth is Linux supposed to know that this broken call
  19. is right? I doubt POSIX (or anybody else) says anything about this case,
  20. except perhaps "undefined bahaviour".  You are lucky your computer(s)
  21. didn't turn into frogs or princes :-)
  22. -- 
  23. Dr. Horst H. von Brand                          vonbrand@inf.utfsm.cl
  24. Departamento de Informatica                     Fono: +56 32 626364 x 431
  25. Universidad Tecnica Federico Santa Maria        Fax:  +56 32 625217
  26. Casilla 110-V, Valparaiso, Chile
  27.